package com.zpark.dao;

import com.zpark.entity.Student;

import java.util.List;

/**
 * 定义了数据连接层的功能
 */
public interface StudentDao {
    void insert(Student student);
    void update(Integer id,Student student);
    void delete(Integer id);
    Student selectById(Integer id);
    List<Student>  selectPage(Integer size, Integer number);
    Student selectByUsernameAndPassword(String username, String password);
}
